Mention checkout refs in context expression restriction example#9988
Open
gordonsyme wants to merge 2 commits intomainfrom
Open
Mention checkout refs in context expression restriction example#9988gordonsyme wants to merge 2 commits intomainfrom
gordonsyme wants to merge 2 commits intomainfrom
Conversation
c19c721 to
2815b9a
Compare
calvis
approved these changes
Feb 11, 2026
Pipelines can use different sources for checkout and for config. When this is the case, both of these need to be restricted for the context to be protected from unreviewed code, or unreviewed config.
2815b9a to
86d2b4f
Compare
soulchips
approved these changes
Feb 11, 2026
Member
Author
|
Let's not merge this right now, we don't have consistent pipeline-values between OAuth and GitHub App triggered pipelines. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pipelines can use different sources for checkout and for config. When
this is the case, both of these need to be restricted for the context to
be protected from unreviewed code, or unreviewed config.
Preview your changes:
ci/circleci: lintjob at the bottom of your PR. You will be redirected to thevale/lintjob output in CircleCI.ci/circleci: buildjob at the bottom of your PR and you will be redirected to CircleCI. Select the Artifacts tab and selectindex.htmlto open a preview version of the docs site built for your latest commit.